<template>
    <div title="前后端分离项目实战" class="courseBox hover_boxShadow_defaut_shadow">
        <div class="imgBox"><img data-src="http://codelover.club/icons/course/icon14.svg"
                src="http://codelover.club/icons/course/icon14.svg" lazy="loaded"></div>
        <div class="courseInfoBox">
            <div title="前后端分离项目实战" class="name isConventionalTitle"> 前后端分离项目实战 </div>
            <div class="teacher">
                <div class="label">教师</div><span>75362172@qq.com</span>
            </div>
            <div title="前后端分离项目实战" class="desc"> 简介：前后端分离项目实战 </div>
            <div class="design"> 设计：刁建忠,周盛华,75362172@qq.com </div>
            <div class="time"><span class="detail">选修时间 ：</span><span> 2024-3-4 8:0:0 ~ 2024-3-31 18:0:0 </span><span
                    class="linear"></span><span class="detail">已选人数 ：</span><span>61</span><span
                    class="linear"></span><span class="detail">上课时间 ：</span><span> 2024-3-3 8:0:0 ~ 2024-3-31 18:0:0
                </span></div>
        </div>
    </div>
</template>

<style>
    .courseBox {
        margin-top: 20px;
        cursor: pointer;
        padding: 34px 31px 35px 21px;
        margin-bottom: 25px;
        display: flex;
        width: 1200px;
        height: 262px;
        background-color: #fff;
        border-radius: 10px
    }

    .courseBox .imgBox {
        width: 288px;
        height: 193px
    }

    .courseBox .imgBox img {
        -o-object-fit: cover;
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 10px
    }

    .courseBox .courseInfoBox {
        margin-left: 28px;
        display: flex;
        flex-flow: column
    }

    .courseBox .courseInfoBox .name {
        font-family: PMingLiU-ExtB;
        font-weight: 700;
        font-size: 20px;
        word-break: break-all;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .courseBox .courseInfoBox .design,
    .courses .coursesList .courseBox .courseInfoBox .time {
        margin-top: 6px;
        font-size: 12px;
        color: #999
    }

    .courseBox .courseInfoBox .desc {
        margin-top: 15px;
        max-width: 760px;
        height: 43px;
        font-family: PMingLiU-ExtB;
        font-size: 16px;
        color: #666;
        word-break: break-all;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .courseBox .courseInfoBox .teacher {
        margin-top: 15px;
        font-family: PMingLiU-ExtB;
        font-size: 14px;
        color: #333
    }

    .courseBox .courseInfoBox .teacher .label {
        margin-right: 5px;
        display: inline-block;
        width: 32px;
        height: 21px;
        line-height: 22px;
        background-color: #f1ae3d;
        border-radius: 5px;
        text-align: center;
        font-family: PMingLiU-ExtB;
        font-size: 14px;
        color: #fff
    }

    .courseBox .courseInfoBox .design,
    .courses .coursesList .courseBox .courseInfoBox .time {
        margin-top: 13px;
        display: flex;
        align-items: center;
        font-family: PMingLiU-ExtB;
        font-size: 14px;
        color: #333
    }

    .courseBox .courseInfoBox .design .detail,
    .courses .coursesList .courseBox .courseInfoBox .time .detail {
        margin: 0;
        font-family: PMingLiU-ExtB;
        font-size: 14px;
        color: #f1ae3d
    }

    .courseBox .courseInfoBox .design .linear,
    .courses .coursesList .courseBox .courseInfoBox .time .linear {
        margin: 0 15px;
        width: 1px;
        height: 14px;
        background: #666
    }

    .hover_boxShadow_defaut_shadow {
        box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .16);
        transition: box-shadow .2s linear;
    }
</style>